<template>
  <el-button type="primary" @click="open1">dddd</el-button>
</template>
<script lang="ts" setup>
import { ElMessage } from "element-plus"
const open1 = () => {
  ElMessage.success("This is a message.")
}
</script>
